{extend name="main/index" /}
{block name="main"}
<div class="main-content">
    <div class="breadcrumbs" id="breadcrumbs">
        <script type="text/javascript">
            try{ace.settings.check('breadcrumbs' , 'fixed')}catch(e){}
        </script>

        <ul class="breadcrumb">
            <li>
                <i class="icon-home home-icon"></i>
                <a href="#">Home</a>
            </li>

            <li>
                <a href="{:url('admin/Contract/index')}">返回上一级</a>
            </li>
            <li class="active">详情信息</li>
        </ul><!-- .breadcrumb -->

        <div class="nav-search" id="nav-search">
            <form class="form-search">
                <span class="input-icon">
                    <input type="text" placeholder="Search ..." class="nav-search-input" id="nav-search-input" autocomplete="off" />
                    <i class="icon-search nav-search-icon"></i>
                </span>
            </form>
        </div><!-- #nav-search -->
    </div>
    <div class="page-content">
        <div class="row">
        <div class="col-xs-2">
        </div>
            <div class="col-xs-8">
                <div class="row">
                    <div class="col-xs-12">
                        <div class="table-responsive">
                            <form id="themeForm" method="post" onsumbit ="return false" enctype="multipart/form-data" >
                                <div class="form-group">
                                    <label for="exampleInputEmail1">项目名称</label>
                                    <input type="hidden" class="form-control" id="exampleInputEmail1" name="id" value= "{$list['id']}" >
                                    <input type="text" class="form-control" id="exampleInputEmail1" value= "{$list['project_name']}" readonly  style="ime-mode: disabled" >
                                    <input type="hidden" class="form-control" id="exampleInputEmail1" value= "{$list['project_name']}" name="project_name"  >
                                </div>
                                <div class="form-group">
                                    <label for="exampleInputEmail1">购货单位</label>
                                    <input type="text" class="form-control" id="exampleInputEmail1" name="purchasing_unit" placeholder="purchasing_unit" value="{$list['purchasing_unit']}">
                                    <span id="stp1" style = "color:#ccc" ></span>

                                </div>
                                <div class="form-group">
                                    <label for="exampleInputEmail1">供货单位</label>
                                    <input type="text" class="form-control" id="exampleInputEmail1" name="supplier" placeholder="supplier" value="{$list['supplier']}">
                                    <span id="stp2" style = "color:#ccc" ></span>

                                </div>
                                <div class="form-group">
                                    <label for="exampleInputEmail1">供货材料内容</label>
                                    <input type="text" class="form-control" id="exampleInputEmail1" name="material_content" placeholder="material_content" value="{$list['material_content']}" onkeyup="value=value.replace(/[^\u4E00-\u9FA5]/g,'')" >
                                    <span id="stp3" style = "color:#ccc" ></span>

                                </div>

                                <div class="form-group">
                                    <label for="exampleInputPassword1">合同总价</label>
                                    <input type="text" class="form-control" id="exampleInputPassword1" name="contract_sum" placeholder="contract_sum" value="{$list['contract_sum']}" onkeyup="this.value=/^\d+\.?\d{0,2}$/.test(this.value) ? this.value : this.value.substring(0,this.value.length-1)" >
                                </div>
                                <div class="form-group">
                                    <label for="exampleInputPassword1">签订时间</label>
                                    <input type="date" class="form-control" id="exampleInputPassword1" name="time" placeholder="time" value="{$list['time']}">
                                </div>
                                <div class="form-group">
                                    <label for="exampleInputPassword1">签订地点</label>
                                    <input type="text" class="form-control" id="exampleInputPassword1" name="address" placeholder="address" value="{$list['address']}"  onkeyup="value=value.replace(/[^\u4E00-\u9FA5]/g,'')">
                                </div>
                                  <div class="form-group">
                                  <button  class="btn btn-info up_btn" id="add_Material" >确认更改</button>
                                      <div class="col-xs-8">
                                      </div>
                                      <a href="{:url('admin/Contract/index')}" class="btn btn-info" id="aa" >返回上一级</a>
                                </div>
                            </form>
                        </div>
            </div>
            <div class="col-xs-3">
            </div><!-- /.col -->
        </div><!-- /.row -->
    </div><!-- /.page-content -->
</div>




{/block}

        {block name="myjs"}

        <script src="/static/admin/assets/meijs/admin_contract.js"></script>

        {/block}
